<div class="pagetin">
    <div class="sp">
        Tin tức
    </div>
    <div class="a13">
        <?php foreach ($model as $p): ?>
            <div class="k1"><img src="<?php echo $p->urlPhoto; ?>"><hr></div>
            <div class="k2"><a id="s1" href="<?php echo $p->urlNews ?>">
                    <p id="s">
                        <?php echo $p->title; ?>
                    </p></a>
                <p class="content">
                    <?php echo $p->desc; ?>
                </p>
            </div>
            <div style="clear: both"></div>
        <?php endforeach; ?>
    </div>
    <div class="page">
        <?php
        $this->widget('CLinkPager', array(
            'pages' => $pages,
            'prevPageLabel' => 'Trang trước',
            'nextPageLabel' => 'Trang sau',
            'firstPageLabel' => 'Trang đầu tiên',
            'header' => '',
        ));
        ?>
    </div>
</div>